home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global altezza, larghezza, trova, nalleluia
- if soundBusy(1) then
- sound stop 1
- end if
- crocidadi()
- if nalleluia = 0 then
- set p to point(larghezza, altezza)
- set d1 to rect(299, 155, 319, 181)
- set d2 to rect(410, 108, 430, 134)
- set d3 to rect(424, 160, 444, 186)
- set d4 to rect(387, 224, 407, 250)
- set d5 to rect(391, 120, 411, 146)
- set d6 to rect(344, 138, 364, 164)
- set d7 to rect(287, 182, 307, 208)
- set d8 to rect(415, 136, 435, 162)
- if inside(p, d1) and not (the visible of sprite 28) then
- giusto()
- set the visible of sprite 28 to 1
- setAt(trova, 1, 1)
- end if
- if inside(p, d2) and not (the visible of sprite 29) then
- giusto()
- set the visible of sprite 29 to 1
- setAt(trova, 2, 1)
- end if
- if inside(p, d3) and not (the visible of sprite 30) then
- giusto()
- set the visible of sprite 30 to 1
- setAt(trova, 3, 1)
- end if
- if inside(p, d4) and not (the visible of sprite 31) then
- giusto()
- set the visible of sprite 31 to 1
- setAt(trova, 4, 1)
- end if
- if inside(p, d5) and not (the visible of sprite 32) then
- giusto()
- set the visible of sprite 32 to 1
- setAt(trova, 5, 1)
- end if
- if inside(p, d6) and not (the visible of sprite 33) then
- giusto()
- set the visible of sprite 33 to 1
- setAt(trova, 6, 1)
- end if
- if inside(p, d7) and not (the visible of sprite 34) then
- giusto()
- set the visible of sprite 34 to 1
- setAt(trova, 7, 1)
- end if
- if inside(p, d8) and not (the visible of sprite 35) then
- giusto()
- set the visible of sprite 35 to 1
- setAt(trova, 8, 1)
- end if
- if trova = list(1, 1, 1, 1, 1, 1, 1, 1) then
- repeat while soundBusy(1)
- nothing()
- end repeat
- alleluia()
- set nalleluia to 1
- end if
- end if
- end
-